<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="jquery1.9/jquery-1.9.0.min.js"></script>
    <script>
        function doLoad(){
            $("#d").load("./service/selectProductPageById.php",{id:1},(responseText,textStatus,xhr) => {
                console.log("请求结束");
                console.log("responseText:", responseText);
                console.log("textStatus:", textStatus);
                console.log("xhr:", xhr);
            });
        }
    </script>
</head>
<body>
    <input type="button" value="load" onclick="doLoad()">
    <hr>
    <div id="d"></div>
</body>
</html>